package opertation;

import book.Book;
import book.BookList;

/**
 * 显示书籍
 */
public class ShowOpertation implements IOPertation{
    @Override
    public void work(BookList bookList) {
        int sizeof = bookList.getBooksSizeof();
        for (int i = 0; i < sizeof; i++) {
            Book book = bookList.getBook(i);
            System.out.println(book);
        }
    }
}

